package com.dataextend.service;

import com.dataextend.entity.UserEntity;

import java.util.List;

public interface UserService {
    int add(UserEntity userEntity);
    int update(UserEntity userEntity);
    void delete(Long id);
    UserEntity queryById(Long id);
    List<UserEntity> list();
    UserEntity queryByUser(String user);
}
